projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d1921b
)
(system_process_attributes): Close fd when done.
author
Dan Nicolaescu
<dann@ics.uci.edu>
Fri, 19 Dec 2008 23:38:28 +0000
(23:38 +0000)
committer
Dan Nicolaescu
<dann@ics.uci.edu>
Fri, 19 Dec 2008 23:38:28 +0000
(23:38 +0000)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index 70a019c39ae5457c39e296f23f527fac5e1cce10..fbd4973937756260d5bbd878e5b059a2e408ec4a 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-3743,6
+3743,9
@@
system_process_attributes (Lisp_Object pid)
attrs = Fcons (Fcons (Qargs, decoded_cmd), attrs);
}
+ if (fd >= 0)
+ emacs_close (fd);
+
UNGCPRO;
return attrs;
}